import { Component } from '@angular/core';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';

@Component({
  selector: 'app-popconfirm-basic-demo',
  standalone: true,
  imports: [NzPopconfirmModule, NzButtonModule],
  templateUrl: './popconfirm-basic-demo.component.html',
  styleUrl: './popconfirm-basic-demo.component.less',
})
export class PopconfirmBasicDemoComponent {
  onConfirm() {
    console.log('confirm');
  }

  onCancel() {
    console.log('cancel');
  }
}
